<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
	"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<title>Calculator</title>
	
	<!-- Load the necessary JavaScripts -->
    <script src="/usr/palm/frameworks/mojo/mojo.js" type="text/javascript" x-mojo-version="1"></script> 
    <script src="calc.js"></script>
    
	<!-- CSS styles -->
	<style type="text/css">
		#buttons
		{
			font-size: 400%;
			width: 24%;
		}
	</style>
	
</head>

<body>
	
	<!-- Text Box to Hold the Answers and Input -->
	<input type="text" id="answer" dir="ltr" style="text-align:right;font-size:400%;width:98%;" value="0" /><br />

	<!-- All the Buttons -->
	<button type="button" onclick="clearPressed()" id="buttons">C</button>
	<br />
	<button type="button" onclick="number(1)" id="buttons">1</button>
	<button type="button" onclick="number(2)" id="buttons">2</button>
	<button type="button" onclick="number(3)" id="buttons">3</button>
	<button type="button" onclick="operation('/')" id="buttons">/</button>
	<br />
	<button type="button" onclick="number(4)" id="buttons">4</button>
	<button type="button" onclick="number(5)" id="buttons">5</button>
	<button type="button" onclick="number(6)" id="buttons">6</button>
	<button type="button" onclick="operation('*')" id="buttons">*</button>
	<br />
	<button type="button" onclick="number(7)" id="buttons">7</button>
	<button type="button" onclick="number(8)" id="buttons">8</button>
	<button type="button" onclick="number(9)" id="buttons">9</button>
	<button type="button" onclick="operation('-')" id="buttons">-</button>
	<br />
	<button type="button" onclick="decimal()" id="buttons">.</button>
	<button type="button" onclick="number(0)" id="buttons">0</button>
	<button type="button" onclick="operation('=')" id="buttons">=</button>
	<button type="button" onclick="operation('+')" id="buttons">+</button>
	<br />
	
</body>
</html>